<?php
header('Content-Type:text/html;Charset=UTF-8');

@$id = $_REQUEST['id'];
@$price = $_REQUEST['price'];

require 'lib/db.php';

@$eitm = dbSelectAll("select from orderList join entry on orderList.money=entry.price where id=:id",array('entryId'=>$id));

if ($eitm==false){
	die('结账失败，请重来！');
}else{
	die('结账成功！');
}


